package com.one.group.admin.mapper;

import com.mybatisflex.core.BaseMapper;
import com.one.group.model.dto.RepairReportQueryDto;
import com.one.group.model.dto.UpdateRepairReportDto;
import com.one.group.model.dto.UpdateRepairReportStatusDto;
import com.one.group.model.entity.RepairReport;
import com.one.group.model.vo.RepairReportListVo;

import java.util.List;

public interface RepairReportMapper extends BaseMapper<RepairReport> {
    List<RepairReportListVo> findRepairReportByQueryDto(RepairReportQueryDto repairReportQueryDto);

    boolean updateRepairReportStatus(UpdateRepairReportStatusDto updateRepairReportStatusDto);

    boolean updateRepairReport(UpdateRepairReportDto updateRepairReportDto);

//    int updateRepairReport(UpdateRepairReportDto updateRepairReportDto);

}
